<?php
if (isset($tpl['dir_files'])) {
?>
<a href="<?php echo $lnk['home']; ?>"><img border="0" width="32" height="16" alt="<?php echo L_BEGIN; ?>" src="img/ff_32x16.png" /></a>
&nbsp;
<?php
echo $tpl['host_online_prefix'], $tpl['cur_path'];
?>
<table class="tbl_content">
<tr>
  <th><a href="<?php echo $tpl['sort_size']; ?>"><?php echo L_SIZE; ?></a></th>
  <th><a href="<?php echo $tpl['sort_date']; ?>"><?php echo L_DATE; ?></a></th>
  <th><?php echo L_DIRS; ?></th>
  <th><?php echo L_FILES; ?></th>
  <th><?php echo L_FLAGS; ?></th>
  <th><a href="<?php echo $tpl['sort_name']; ?>"><?php echo L_NAME; ?></a></th>
</tr>
<?php
echo $tpl['dir_files'];
?>
</table>
<b><?php echo L_TOTAL; ?>:</b> <?php 
echo $tpl['total'], 
   ' (', $tpl['dirs_count'], ', ', $tpl['files_count'], ')';
}
?>

